<?php
/*
 * @Author: your name
 * @Date: 2020-12-17 09:46:45
 * @LastEditTime: 2020-12-17 15:21:11
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /special/application/common/service/platform_manage/log/ServerUpdateLogService.php
 */

namespace app\common\service\platform_manage\log;


use app\common\service\BaseService;
use think\Db;

class ServerUpdateLogService extends BaseService
{
    /**
     * @name 添加
     * @param $addData
     * @return int|string
     * @author wx
     * @date 2019/11/7 16:42
     */
    public function add($addData)
    {
        return Db::name('server_update_log')->insert($addData);
    }

    /**
     * @name 批量添加
     * @param $addData
     * @return int|string
     * @author wx
     * @date 2020/5/8 9:27
     */
    public function addAll($addData)
    {
        return Db::name('server_update_log')->insertAll($addData);
    }
}